/** 静态路由 */
export default [
  {
    path: '/login',
    name: 'login',
    component: () => import('@/views/login/login.vue'),
    meta: {
      title: '登录',
      isAuth: false,
    },
  },
  {
    path: '/',
    name: 'layout',
    redirect: '/home',
    component: () => import('@/layout/layout.vue'),
    meta: {
      title: '首页',
      isAuth: true,
    },
    children: [],
  },
  {
    path: '/:path(.*)*',
    name: 'notFound',
    component: () => import('@/views/error/404.vue'),
    meta: {
      title: '404',
      isAuth: true,
    },
  },
];
